<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    //创建数组
    var MyArr=['a','b','c','d','e'];

    //封装pop方法
    Array.prototype.MyPush =function(item){
        var len=this.length;
        for(let i=0;i<arguments.length;i++){
            this[i+len]=arguments[i];
        }
        return this.length;

    };
    
</script>